<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    {% if x > 10 %}
    Fine
    {% else %}
    Very Fine
    {% endif %}

    <br>

    {% for name in lst %}
        <p>{{ name }}</p>
    {% empty %}
        No Data
    {% endfor %}
</body>
</html>